<?php if (!defined('THINK_PATH')) exit();?>



<script>
    var index=10;
    function refreshMainFrame(url)
	{
     
		//parent.main.document.location = url;
        parent.main.tab.add(
        {
        id :'tab1_id_index14'+index,
        title :"百度主页",
        url :url,
        isClosed :true
         }
        
        )
        index++;
	}
    
    

</script>

<a href="#" onclick="refreshMainFrame('__APP__/Form/view');">测试</a>
<a href="#" onclick="refreshMainFrame('__APP__/Card/view');">测试</a>
<a href="#" onclick="refreshMainFrame('__APP__/Country/view');">测试</a>